package cate.game.rank.h;

import cate.common.table.d.GDForbidden;
import cate.common.table.d.GDRank;
import cate.game.rank.po.ExtraValueRankSPO;

public class ForbiddenRankHandler extends RankExtraValueHandler<ExtraValueRankSPO> {
    private int type;

    public ForbiddenRankHandler(int type) {
        this.type = type;
    }

    @Override
    protected String getTag() {
        return "forbidden_" + type;
    }

    @Override
    protected ExtraValueRankSPO createSPO() {
        return new ExtraValueRankSPO(ExtraValueRankSPO.Type.VALUE_BIG_EXTRA_SMALL_NIUBI);
    }

    @Override
    public int getRankId() {
        return GDRank.Id.FORBIDDEN_RANK_ID;
    }
}
